package com.goodlib;
import android.app.Activity;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.RelativeLayout;
public class goodlibView extends RelativeLayout implements View.OnClickListener, View.OnLongClickListener {
    protected Context context;
    Activity activity ;
    public goodlibView(Context context) {
        super(context);
        this.context = context;
        activity = (Activity) context;
        init();
    }
    public goodlibView(Context context, AttributeSet attrs) {
        super(context, attrs);
        this.context = context;
        activity = (Activity) context;
        init();
    }
    public goodlibView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        this.context = context;
        activity = (Activity) context;
        init();
    }
    private void init() {
        activity = (Activity) context;
    }
    @Override
    public void onClick(View v) {

    }
    @Override
    public boolean onLongClick(View v) {
        return false;
    }
}
